package com.service;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.SqlSession;

import com.dao.userDao;
import com.pojo.Users;
import com.util.MybatisSessionFactory;

public class usersService {
	SqlSession Session = MybatisSessionFactory.getSqlSession();
	userDao dao = Session.getMapper(userDao.class);
	
	
	public Users query_login(@Param("account") String account,
			@Param("password") String password) {
		return dao.query_login(account,password);
		
	}

}
